<?php include_partial('global/navbar') ?>
<br/><br/>
<div class="content_nav">
    <div class="wrap">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h3 class="panel-title">您在微美贷总计借款<?php echo sfConfig::get('app_symbol').  number_format($all_interest['current_principal_money'],2)?>，总计需支付 ￥<?php  echo bcadd($all_interest['current_interest_money'],$all_service['service_fee_money'], sfConfig::get('app_value_bit'));?>的利息和费用</h3>
                </div>
                <div class="panel-body">
                    <div class="col-xs-5">
                        <table class="table counttable">
                            <tbody>
                                <tr>
                                    <td width="243">借款利息</td>
                                    <td id="br-lx"><?php echo sfConfig::get('app_symbol').  number_format($all_interest['current_interest_money'],2)?></td>
                                </tr>
                                <tr>
                                    <td>逾期费用</td>
                                    <td id="br-fy">&#165;0.00</td>
                                </tr>
                                <tr>
                                    <td>借款服务费</td>
                                    <td id="br-fw"><?php echo sfConfig::get('app_symbol').number_format($all_service['service_fee_money'],2)?></td>
                                </tr>
                                <tr class="line">
                                    <td>总计</td>
                                    <td id="br-lxzj"><?php echo bcadd($all_interest['current_interest_money'],$all_service['service_fee_money'], sfConfig::get('app_value_bit'));?></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="col-xs-7">
                        <canvas name="countCanvas" class="countCanvas" width="400" height="200"></canvas>
                    </div>
                </div>
            </div>
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h3 class="panel-title">您在微美贷的借款待还总额为<?php echo sfConfig::get('app_symbol').number_format($wait_pay['current_money'],2)?></h3>
                </div>
                <div class="panel-body">
                    <div class="col-xs-5">
                        <table class="table counttable">
                            <tbody>
                                <tr>
                                    <td>待还本金</td>
                                    <td id="dh-bj"><?php echo sfConfig::get('app_symbol').number_format($wait_pay['current_principal_money'],2)?></td>
                                </tr>
                                <tr>
                                    <td>待还利息</td>
                                    <td id="dh-lx"><?php echo sfConfig::get('app_symbol').number_format($wait_pay['current_interest_money'],2)?></td>
                                </tr>
                                <tr>
                                    <td>待还逾期费用</td>
                                    <td id="dh-yq">&#165;0.00</td>
                                </tr>
                                <tr class="line">
                                    <td>总计</td>
                                    <td><?php echo sfConfig::get('app_symbol').number_format($wait_pay['current_money'],2)?></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="col-xs-7">
                        <canvas name="countCanvas" class="countCanvas" width="400" height="200"></canvas>
                    </div>
                </div>
            </div>
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h3 class="panel-title">您在微美贷的借款已还总额为<?php echo sfConfig::get('app_symbol').number_format($wait_lasted_pay['current_money'],2)?></h3>
                </div>
                <div class="panel-body">
                    <div class="col-xs-5">
                        <table class="table counttable">
                            <tbody>
                                <tr>
                                    <td>已还本金</td>
                                    <td id="yh-bj"><?php echo sfConfig::get('app_symbol').number_format($wait_lasted_pay['current_principal_money'],2)?></td>
                                </tr>
                                <tr>
                                    <td>已还利息</td>
                                    <td id="yh-lx"><?php echo sfConfig::get('app_symbol').number_format($wait_lasted_pay['current_interest_money'],2)?></td>
                                </tr>
                                <tr>
                                    <td>已还逾期费用</td>
                                    <td id="yh-yq">&#165;0.00</td>
                                </tr>
                                <tr class="line">
                                    <td>总计</td>
                                    <td><?php echo sfConfig::get('app_symbol').number_format($wait_lasted_pay['current_money'],2)?></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="col-xs-7">
                        <canvas name="countCanvas" class="countCanvas" width="400" height="200"></canvas>
                    </div>
                </div>
            </div>
        <h5>温馨提示：此数据为统计非实时数据。数据最后更新时间：暂无</h5>
    </div>
</div>
<input type="hidden" value="borrow" id="thisRole"/>
<script type="text/javascript">
    var countview = new countview();
    $("#10003 ,#10010").addClass('on');
</script>

